package com.cy.pj.category.dao;

import com.cy.pj.category.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CategoryDao {
    //查询
    List<Category> findCategory();
    //删除
   int deleteCategory(Integer id);
    //新增
    int insetCategory(Category entity);
    //修改
    int byId(Integer id);
    int updateCategory();
}
